-- GENERATED SPELL FOR [Kindal Moonweaver] --


function spell0_7956(pUnit, Event) --@Multi-Shot,n/a--
pUnit:FullCastSpellOnTarget(14443,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7956', 591, 1)
end

function spell1_7956(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(6660,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7956', 522, 1)
end

function Sorts_7956(pUnit, Event)
local choix_sorts_7956 = math.random(0, 1)
if choix_sorts_7956 == 0 then
pUnit:RegisterEvent('spell0_7956', 1, 1)
end
if choix_sorts_7956 == 1 then
pUnit:RegisterEvent('spell1_7956', 1, 1)
end
end

function mob7956_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7956', math.random(1500, 3000), 1)
end

function mob7956_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7956_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7956_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7956, 1, 'mob7956_Action')
RegisterUnitEvent(7956, 2, 'mob7956_Leave')
RegisterUnitEvent(7956, 3, 'mob7956_Kill')
RegisterUnitEvent(7956, 4, 'mob7956_Die')
